home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / lotus / lotus022.dsk / SURFNET.MPR / SCRIPT / ApproachDoc / Webster Browser.s (.txt) < prev   
Null Bytes Alternating  |  1995-11-13  |  2KB  |  30 lines

  1. '++LotusScript Development Environment:2:5:(Options):0:66
  2.  
  3. '++LotusScript Development Environment:2:5:(Forward):0:1
  4. Declare Sub Switchto(Source As Form, View As VIEW)
  5. Declare Sub Switchfrom(Source As Form, View As VIEW)
  6.  
  7. '++LotusScript Development Environment:2:5:(Declarations):0:2
  8.  
  9. '++LotusScript Development Environment:2:2:BindEvents:1:129
  10. Private Sub BindEvents(Byval Objectname_ As String)
  11.     Static Source As FORM
  12.     Set Source = Bind(Objectname_)
  13.     On Event Switchto From Source Call Switchto
  14.     On Event Switchfrom From Source Call Switchfrom
  15. End Sub
  16.  
  17. '++LotusScript Development Environment:2:2:Switchto:1:12
  18. Sub Switchto(Source As Form, View As VIEW)
  19.     'Hide all of the bars for better viewing of the browser
  20.     CurrentWindow.ActionBarVisible = False
  21.     CurrentWindow.IconBarVisible = False
  22.     CurrentWindow.StatusBarVisible = False
  23. End Sub
  24. '++LotusScript Development Environment:2:2:Switchfrom:1:12
  25. Sub Switchfrom(Source As Form, View As VIEW)
  26.     'Show all of the bars when not on the browser form.
  27.     CurrentWindow.ActionBarVisible = True
  28.     CurrentWindow.IconBarVisible = True
  29.     CurrentWindow.StatusBarVisible = True
  30. End Sub